﻿
<div>
    <form name="userMeetingRefCreateOrEditForm" role="form" novalidate class="form-validation">
        <div class="modal-header">
            <h4 class="modal-title">
                <span ng-if="vm.userMeetingRef.id">编辑信息:{{vm.userMeetingRef.name}}</span>
                <span ng-if="!vm.userMeetingRef.id">新增信息</span>
            </h4>
        </div>
        <div class="modal-body">



            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="UserId" ng-class="{'edited':vm.userMeetingRef.userId}" ng-model="vm.userMeetingRef.userId" />
                <label>用户名</label>
            </div>

            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="MeetingUserName" ng-class="{'edited':vm.userMeetingRef.meetingUserName}" ng-model="vm.userMeetingRef.meetingUserName" maxlength="50" />
                <label>参会人</label>
            </div>

            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                <input type="text" class="form-control" name="MeetingUserPassword" ng-class="{'edited':vm.userMeetingRef.meetingUserPassword}" ng-model="vm.userMeetingRef.meetingUserPassword" maxlength="50" />
                <label>参会人密码</label>
            </div>




        </div>
        <div class="modal-footer">
            <button ng-disabled="vm.saving" type="button" class="btn btn-default" ng-click="vm.cancel()">@L("Cancel")</button>
            <button type="submit" button-busy="vm.saving" busy-text="@L("SavingWithThreeDot")" class="btn btn-primary blue" ng-click="vm.save()" ng-disabled="exampleForm.$invalid"><i class="fa fa-save"></i> <span>@L("Save")</span></button>
        </div>
    </form>
</div>